<template>
  <div>
    <renderAmis :schema="jsons" v-if="jsons"></renderAmis>
  </div>
</template>

<script setup lang="ts">
import renderAmis from "@/components/renderAmis";
import { getSchema } from '@/utils/schema.ts'
const jsons = ref()
onMounted(async () => {
  jsons.value = JSON.parse(await getSchema({ id: 41 }))
})

</script>

<style lang="scss" scoped>
::v-deep.cxd-Tree  {
  height: 100vh;
}
::v-deep.amis-scope .cxd-Tree-item{
  margin-bottom: 10px;
}
</style>


<style lang="scss" scoped>
::v-deep.cxd-Tree  {
  height: 100vh!important;
}
::v-deep.amis-scope .cxd-Tree-item{
  margin-bottom: 10px!important;
}
</style>
